public class Test {
    public static void main(String[] args) {
        Car lowCar = new Car(120.0,"低配版");
        System.out.println(lowCar);

        middleCar middleCar = new middleCar(150.0, "中配版");
        System.out.println(middleCar);
        middleCar.turnBuletoothon();
        middleCar.turnBuletoothoff();
        luxuryCar luxuryCar = new luxuryCar(180.0, "高配版");
        System.out.println(luxuryCar);
        luxuryCar.turnBuletoothon();
        luxuryCar.turnBuletoothoff();
        luxuryCar.locate();
        luxuryCar.connet("茄子的车");

    }
}
